/// APP请求API统一维护地址
enum EcyAPI {
  /// 获取运费接口
  freight(url: "/system/dict/data/type/postage", version: "1.0"),
  /// 获取门店
  shop(url: "/app/api/app/shop/", version: "1.0"),
  /// 获取支付信息
  pay(url: "/app/api/app/pay", version: "1.0"),
  /// 确认收货
  sign(url: "/app/api/app/order/sign", version: "1.0"),
  /// 查看物流
  logistics(url: "/app/api/app/order/query/location", version: "1.0"),
  /// 获取收货地址
  address(url: "/app/api/app/user/address/", version: "1.0"),
  /// 购物车删除
  deleteCart(url: "/app/api/app/cart", version: "1.0"),
  /// 商品批量添加至购物车
  addCart(url: "/app/api/app/cart/batch", version: "1.0"),
  /// 取消订单
  cancelOrder(url: "/app/api/app/user/order/cancel/", version: "1.0"),
  /// 申请退款
  applyRefund(url: "/app/api/app/order/apply/refund", version: "1.0"),
  /// 删除订单
  deleteOrder(url: "/app/api/app/user/order", version: "1.0"),
  /// APP用户信息
  appUserInfo(url: "/app/api/app/user/appUserInfo", version: "1.0"),
  /// 寄售获取用户会话未读消息数
  unreadCount(url: "/app/api/app/consign/unreadCount", version: "1.0"),
  /// 保存用户信息
  saveAppUser(url: "/app/api/app/user", version: "1.0"),

  reviewState(url: "/app/reviewStatus", version: "1.0"),
  /// 获取盲盒系列
  blindBoxSeries(url: "/app/api/app/commodityBlindBox/pageSeries", version: "1.0"),
  /// 获取盲盒系列详情
  blindBoxList(url: "/app/api/app/commodityBlindBox/pageList", version: "1.0"),
  /// 我的交换我上架的列表
  myPublish(url: "/app/api/app/user/exchange/up/list",version: "1.0"),
  /// 获取痛柜发货说明
  illustrate(url: "/app/api/app/illustrate/", version: "1.0")
  ;


  // /构造
  const EcyAPI({required this.url, required this.version});
  /// 请求地址
  final String url;
  /// 接口版本
  final String version;
}